package messages;

import java.net.UnknownHostException;

public class FileNotif extends Message {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -323131172186505610L;
	private String nameFile;
	private boolean request;
	private boolean accepted;

	protected FileNotif(String username, String nameFile, boolean request, boolean accepted) throws UnknownHostException {
		super(username);
		this.nameFile=nameFile;
		this.request=request;
		this.accepted=accepted;
	}

	public boolean getRequest() {
		return request;
	}

	public boolean getAccepted() {
		return accepted;
	}

	public String getNameFile() {
		return nameFile;
	}
	
}
